package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 内容
 */
@Entity
@Table
public class NewsItem implements Serializable{
	
	private static final long serialVersionUID = 5760584871816684476L;
	private int code;
	private int uc;
	private String url;
	private String title;
	private String content;
	private Boolean deleted;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public int getCode() {
		return code;
	}
	@Column
	public int getUc() {
		return uc;
	}
	@Column
	public String getUrl() {
		return url;
	}
	@Column
	public String getTitle() {
		return title;
	}
	@Column
	public String getContent() {
		return content;
	}
	@Column
	public Boolean getDeleted() {
		return deleted;
	}
	
	
	
	
	
	
	public void setUrl(String url) {
		this.url = url;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public void setUc(int uc) {
		this.uc = uc;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}
	
	
	
}
